package com.bz.model;

public class Message {
    private String type;
    private String content;
    private String channel;
    private String user;

    // Constructors, getters and setters
    public Message() {
    }

    public Message(String type, String content) {
        this.type = type;
        this.content = content;
    }

    public Message(String type, String content, String channel, String user) {
        this.type = type;
        this.content = content;
        this.channel = channel;
        this.user = user;
    }

    // Getters and setters
    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }
}
